package com.ruoyi.analysis.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 制粒二车间分析历史对象 online_history_zlb
 * 
 * @author weihanqiang
 * @date 2025-06-19
 */
public class OnlineHistoryZlb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分析结果id */
    private Long onlineResultId;

    /** 分析结果编号 */
    @Excel(name = "分析结果编号")
    private String onlineResultNo;

    /** 成分id */
    @Excel(name = "成分id")
    private Long constituentId;

    /** 成分名称 */
    @Excel(name = "成分名称")
    private String constituentName;

    /** 预测值 */
    @Excel(name = "预测值")
    private Long predicted;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    /** 部门id */
    @Excel(name = "部门id")
    private Long departmentId;

    /** 仪器id */
    @Excel(name = "仪器id")
    private Long instrumentId;

    /** 仪器编号 */
    @Excel(name = "仪器编号")
    private String instrumentNo;

    /** 仪器名称 */
    @Excel(name = "仪器名称")
    private String instrumentName;

    /** 模型id */
    @Excel(name = "模型id")
    private Long modelId;

    /** 模型编号 */
    @Excel(name = "模型编号")
    private String modelNo;

    /** 采样时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采样时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date samplingTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 新增人id */
    @Excel(name = "新增人id")
    private Long creatorId;

    /** 新增人 */
    @Excel(name = "新增人")
    private String creator;

    /** 修改人id */
    @Excel(name = "修改人id")
    private Long modifierId;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifier;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** 样品光谱id */
    @Excel(name = "样品光谱id")
    private Long sampleSpectrumId;

    /** 样品光谱编号 */
    @Excel(name = "样品光谱编号")
    private String sampleSpectrumNo;

    public void setOnlineResultId(Long onlineResultId) 
    {
        this.onlineResultId = onlineResultId;
    }

    public Long getOnlineResultId() 
    {
        return onlineResultId;
    }

    public void setOnlineResultNo(String onlineResultNo) 
    {
        this.onlineResultNo = onlineResultNo;
    }

    public String getOnlineResultNo() 
    {
        return onlineResultNo;
    }

    public void setConstituentId(Long constituentId) 
    {
        this.constituentId = constituentId;
    }

    public Long getConstituentId() 
    {
        return constituentId;
    }

    public void setConstituentName(String constituentName) 
    {
        this.constituentName = constituentName;
    }

    public String getConstituentName() 
    {
        return constituentName;
    }

    public void setPredicted(Long predicted) 
    {
        this.predicted = predicted;
    }

    public Long getPredicted() 
    {
        return predicted;
    }

    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }

    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    public void setInstrumentId(Long instrumentId) 
    {
        this.instrumentId = instrumentId;
    }

    public Long getInstrumentId() 
    {
        return instrumentId;
    }

    public void setInstrumentNo(String instrumentNo) 
    {
        this.instrumentNo = instrumentNo;
    }

    public String getInstrumentNo() 
    {
        return instrumentNo;
    }

    public void setInstrumentName(String instrumentName) 
    {
        this.instrumentName = instrumentName;
    }

    public String getInstrumentName() 
    {
        return instrumentName;
    }

    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }

    public void setModelNo(String modelNo) 
    {
        this.modelNo = modelNo;
    }

    public String getModelNo() 
    {
        return modelNo;
    }

    public void setSamplingTime(Date samplingTime) 
    {
        this.samplingTime = samplingTime;
    }

    public Date getSamplingTime() 
    {
        return samplingTime;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setModifierId(Long modifierId) 
    {
        this.modifierId = modifierId;
    }

    public Long getModifierId() 
    {
        return modifierId;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    public void setSampleSpectrumId(Long sampleSpectrumId) 
    {
        this.sampleSpectrumId = sampleSpectrumId;
    }

    public Long getSampleSpectrumId() 
    {
        return sampleSpectrumId;
    }

    public void setSampleSpectrumNo(String sampleSpectrumNo) 
    {
        this.sampleSpectrumNo = sampleSpectrumNo;
    }

    public String getSampleSpectrumNo() 
    {
        return sampleSpectrumNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("onlineResultId", getOnlineResultId())
            .append("onlineResultNo", getOnlineResultNo())
            .append("constituentId", getConstituentId())
            .append("constituentName", getConstituentName())
            .append("predicted", getPredicted())
            .append("departmentName", getDepartmentName())
            .append("departmentId", getDepartmentId())
            .append("instrumentId", getInstrumentId())
            .append("instrumentNo", getInstrumentNo())
            .append("instrumentName", getInstrumentName())
            .append("modelId", getModelId())
            .append("modelNo", getModelNo())
            .append("samplingTime", getSamplingTime())
            .append("remarks", getRemarks())
            .append("isDelete", getIsDelete())
            .append("creatorId", getCreatorId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("modifierId", getModifierId())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .append("sampleSpectrumId", getSampleSpectrumId())
            .append("sampleSpectrumNo", getSampleSpectrumNo())
            .toString();
    }
}
